package org.jackysoft.report;


public enum ProductValidation{
    陆军,海军,空军,二炮,工程兵,陆航,委验,厂验,武警,无校验;
    
    public static String getOptions(boolean orival){
    	String opts = "";
    	for(ProductValidation c :ProductValidation.values()){
    		opts+=String.format("<option value='%s'>%s</option>",
    				orival?c.ordinal():c.name(),
    				
    				c.name());
    	    		
    	}
    	return opts;
    }
}
